import request from '@/utils/request'

/**
 * @description: 获取 banner
 * @param {*} type 资源类型,对应以下类型: 0:pc, 1:android, 2:iphone, 3:ipad
 * @return {*}
 */
export const getBanner = (type) => {
  return request({
    url: '/banner',
    data: {
      type
    }
  })
}
